//
//  ResultStatisticsView.h
//  SanYiTeaching
//
//  Created by 李文强 on 2019/4/11.
//  Copyright © 2019 李文强. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RSSwitchButtonView.h"
#import "SJXQHeaderTitleView.h"
#import "RSVTableViewCell.h"
#import "JiaoXueAnXueShengTongJiModel.h"
#import "JiaoXueAnTiJiaoXiangQingTiJiaoModel.h"
NS_ASSUME_NONNULL_BEGIN
//结果统计

/**
 结果统计
 */
@protocol ResultStatisticsDelegate <NSObject>

@required
- (void)rSD:(NSString *)paperQuestionID;
- (void)anXueShengTongJiDelegate:(NSString *)noID;
@end

@interface ResultStatisticsView : UIView<UITableViewDelegate,UITableViewDataSource,RSSwitchButtonViewDelegate>{
    int type;
    int pageIndexForShiTi;
    int pageSizeForShiTi;
    int pageIndexForXueSheng;
    int pageSizeForXueSheng;
}
@property (nonatomic, strong) UITableView *tableList;
@property (nonatomic, strong) RSSwitchButtonView *switchButton;
@property (nonatomic, strong) SJXQHeaderTitleView *titleView;
@property (nonatomic, assign) id<ResultStatisticsDelegate>mainDelegate;
@property (nonatomic, strong) NSMutableArray *xueShengTongJiArray;
@property (nonatomic, strong) NSMutableArray *shiTiTongJiArray;
@property (nonatomic, copy) NSString *classID;
@property (nonatomic, copy) NSString *paperID;
- (instancetype)initWithFrame:(CGRect)frame andClassID:(NSString *)classID andePaperID:(NSString *)paperID;
@end

NS_ASSUME_NONNULL_END
